package com.main.rentsystem.pojo.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDate;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderHouse implements Serializable {

    //0表示审核中，1表示预约成功，2表示预约失败
    public static final int UNDER_REVIEW = 0;
    public static final int APPOINTMENT_SUCCESS = 1;
    public static final int APPOINTMENT_FAILURE = 2;

    private Long id;
    private String name;
    private String specification;
    private String feature;
    private String size;
    private String address;
    private Long price;
    private LocalDate orderTime;
    private Long userId;
    private int status;
}
